package com.dragon.modules.yuegou.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.system.UniappOpenidRefEntity;
import com.dragon.modules.yuegou.model.system.UniappOpenidRef;

/**
 * uniapp openid 手机号 关系表 服务接口
 *
 * @author pbuilder generated
 * @date 2022-11-09 11:09:28
 * @version 2.0
 */
public interface UniappOpenidRefService extends IService<UniappOpenidRefEntity> {

    /**
     * 保存数据
     * @param uniappOpenidRef
     */
    void saveUniappOpenidRef(UniappOpenidRef uniappOpenidRef);

    /**
     * 根据APPID和openId查询对应关系
     * @param uniAppId
     * @param openId
     * @return
     */
    UniappOpenidRef selectByAppIdAndOpenId(String uniAppId, String openId);
}